package com.appbee.core.client.data;

import com.appbee.core.shared.model.HasStringId;
import com.google.gwt.view.client.ProvidesKey;

public class HasStringIdKeyProvider<B extends HasStringId> implements
		ProvidesKey<B>
{

	@Override
	public Object getKey(B item)
	{
		return item == null ? null : item.getId();
	}

}
